package com.ecb.business.repository;

import com.ecb.business.po.ChainUserPO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserDao extends JpaRepository<ChainUserPO, Integer> {
    List<ChainUserPO> findAllByUserCodeLikeOrUserNameLikeAndStatusEquals(String userCode, String userName, int status);
    ChainUserPO findByUserCode(String userCode);

}
